﻿USE [master]
GO

IF  EXISTS (SELECT name FROM sys.databases WHERE name = N'GSite')
BEGIN
	ALTER DATABASE [GSite] SET SINGLE_USER WITH ROLLBACK IMMEDIATE
	DROP DATABASE [GSite]
END	
	
GO

CREATE DATABASE [GSite] COLLATE Cyrillic_General_CI_AS
-- has to change it to UTF
GO

ALTER DATABASE [GSite]
SET ALLOW_SNAPSHOT_ISOLATION ON

ALTER DATABASE [GSite]
SET READ_COMMITTED_SNAPSHOT ON

USE [GSite]
GO


